/*
 * To change this license header, choose License Headers in Project Properties. To change this
 * template file, choose Tools | Templates and open the template in the editor.
 */
package chalmers.game.subterranean.util;

/**
 * This enum will represent the direction we will want to move, look or dig.
 * 
 * @author TH
 */
public enum Direction {

  EAST(1.0), WEST(-1.0), NORTH(0.0), SOUTH(0.0);

  // The sign of the speed of a movable body traveling in the direction.
  private final double sign;

  Direction(double sign) {
    this.sign = sign;
  }

  public double sign() {
    return sign;
  }
}
